<ion-content [fullscreen]="true">
  <div class="container">
    <div>
      <ion-avatar class="avatar">
        <img [src]="formatImage()">
      </ion-avatar>
      <div style="text-align: center;margin-top: 10px;">{{this.userInfo?.realname}}</div>
    </div>
    <ion-button style="margin-top: 50px;" (click)="LogOut()" expand="full">退出登录</ion-button>
  </div>
</ion-content>